<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table border="1" cellspacing="0" width="500px">
        <tr>
            <th>编号</th>
            <th>姓名</th>
            <th>密码</th>
        </tr>
        {% for cpeople in cps %}
            <tr>
                <td>{{ forloop.counter }}</td>
                <td>{{ cpeople.cname }}</td>
                <td>{{ cpeople.cpwd }}</td>
            </tr>

        {% endfor %}

    </table>
</body>
</html>